n_sample = [1,2,3,4,5]
max_num = n_sample[0]
for i in range(1,len(n_sample)):
    if n_sample[i]>max_num:
        max_num=n_sample[i]
    else:
        pass
print(max_num)